using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;

namespace LeadTracker.Entities
{
	public class LeadCollection : ObservableCollection<Lead>
	{
		public LeadCollection() { }

		public LeadCollection(List<Lead> list) : base(list) { }

		public LeadCollection(IEnumerable<Lead> collection) : base(collection) { }

		public LeadCollection(IEnumerable<IDictionary<string, object>> table)
		{
			foreach (var item in table)
				Add(new Lead(item));
		}

	}
}
